import type { SiderTheme } from 'antd/es/layout/Sider';
export type themes = {
  theme?: string;
  setTheme?: (theme: string) => void;
  light: {
    background?: string;
    asideBgd?: string;
    menuBgd?: string;
    color?: string;
    text?: string;
    border?: string;
    shadow?: string;
    button?: {
      background?: string;
      color?: string;
      hover?: string;
      active?: string;
    };
  };
  dark: {
    background?: string;
    asideBgd?: string;
    menuBgd?: string;
    color?: string;
    text?: string;
    border?: string;
    shadow?: string;
    button?: {
      background?: string;
      color?: string;
      hover?: string;
      active?: string;
    };
  };
};
export type RootState = {
  user: {
    theme: SiderTheme | undefined | string; // 假设 user.value 是一个字符串
  };
};
